Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform/gcp: Able to configure image type #776

Merged
merged 2 commits into from
Aug 16, 2019
Merged

Conversation

cofyc
Copy link
Contributor

@cofyc cofyc commented Aug 15, 2019

What problem does this PR solve?

Sometimes users may favor non-COS node images. This adds variables to configure image type for TiDB node pools.

What is changed and how does it work?

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Does this PR introduce a user-facing change?:

terraform/gcp: Able to configure node image types for PD/TiDB/TiKV node pools.

variable "tikv_image_type" {
description = "TiKV image type, avaiable: UBUNTU/COS"
default = "COS"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These variables should be added to deploy/modules/gcp/tidb-cluster/variables.tf

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I'll fix it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Copy link
Contributor

@jlerche jlerche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gregwebs
Copy link
Contributor

/run-e2e-tests

@cofyc
Copy link
Contributor Author

cofyc commented Aug 16, 2019

/run-e2e-in-kind

@cofyc cofyc merged commit 6c5b6b1 into pingcap:master Aug 16, 2019
@cofyc cofyc added the cloud/gcp Google Cloud Platform label Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants